export default [
  {
    path: '/student',
    class: 'customerDetails',
    name: '客户详情',
    component: () =>
      import( /* webpackChunkName: "taxation" */ '@/views/student/customerDetails/index.vue'),
    redirect: '/student/customerDetails/customerDetails',
    children: [{
        path: '/student/customerDetails/customerDetails',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/customerDetails/customerDetails.vue'),
        name: '客户详情',
        meta: {keepAlive: true}
      },{
        path: '/student/customerDetails/bankList',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/customerDetails/bankList.vue'),
        name: '账户信息',
        meta: {keepAlive: true}
      },
      {
        path: '/student/customerDetails/projectDetails',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/customerDetails/projectDetails.vue'),
        name: '项目详情',
        meta: {keepAlive: true}
      }
    ]
  },
  {
    path: '/student',
    class: 'system',
    name: '管理制度',
    component: () =>
      import( /* webpackChunkName: "taxation" */ '@/views/student/system/index.vue'),
    redirect: '/student/system/cash',
    children: [{
        path: '/student/system/cash',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/system/cash.vue'),
        name: '现金管理制度',
        meta: {keepAlive: true}
      },
      {
        path: '/student/system/loan',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/system/loan.vue'),
        name: '借款管理规定及流程',
        meta: {keepAlive: true}
      },
      {
        path: '/student/system/sale',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/system/sale.vue'),
        name: '销售管理制度',
        meta: {keepAlive: true}
      },
    ]
  },
  {
    path: '/student',
    class: 'reportForm',
    name: '财务表报',
    component: () =>
      import( /* webpackChunkName: "taxation" */ '@/views/student/reportForm/index.vue'),
    redirect: '/student/reportForm/notReviewed',
    children: [{
        path: '/student/reportForm/notReviewed',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/reportForm/notReviewed.vue'),
        name: '未审报表',
        meta: {keepAlive: false}
      },
      {
        path: '/student/reportForm/reviewed',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/reportForm/reviewed.vue'),
        name: '已审报表'
      }
    ]
  },
  {
    path: '/student',
    class: 'accountBook',
    name: '财务账簿',
    component: () =>
      import( /* webpackChunkName: "taxation" */ '@/views/student/accountBook/index.vue'),
    redirect: '/student/accountBook/ledger',
    children: [{
        path: '/student/accountBook/ledger',
        component: () =>
          import( /* webpackChunkName: "taxation" */ '@/views/student/accountBook/ledger.vue'),
        name: '总账',
        meta: {keepAlive: true}
      },
      // {
      //   path: '/student/accountBook/reviewed',
      //   component: () =>
      //     import( /* webpackChunkName: "taxation" */ '@/views/student/accountBook/reviewed.vue'),
      //   name: '已审报表'
      // }
    ]
  },
  {
    path: '/student/voucher',
    class: 'reportForm',
    name: '记账凭证',
    component: () =>
      import( /* webpackChunkName: "taxation" */ '@/views/student/voucher.vue'),
        meta: {keepAlive: true}
  },
];
